package com.jumi.microservice.dto.reponse.api;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("团队业绩返回结果")
public class TeamSalesAggregate extends Aggregate{

    public TeamSalesAggregate(Aggregate a) {
        super(a.getLevel(),a.getChildrenNum(),a.getSumChiNum(),a.getRemainderNum(),a.getSales(),a.getSumSales(),a.getRemainderSales(),a.getAddNum(),a.getFinishAddNum(),a.getUnFinishAddNum());
    }


    @ApiModelProperty("累计总业绩")
    private TeamSalesItem item;

    @ApiModelProperty("今日业绩")
    private TeamSalesItem itemToday;

    @ApiModelProperty("昨日业绩")
    private TeamSalesItem itemYesterday;

    @ApiModelProperty("7日业绩")
    private TeamSalesItem itemSeven;

    @ApiModelProperty("30日业绩")
    private TeamSalesItem itemThirty;

    public TeamSalesItem getItemYesterday() {
        return itemYesterday;
    }

    public void setItemYesterday(TeamSalesItem itemYesterday) {
        this.itemYesterday = itemYesterday;
    }

    public TeamSalesItem getItemSeven() {
        return itemSeven;
    }

    public void setItemSeven(TeamSalesItem itemSeven) {
        this.itemSeven = itemSeven;
    }

    public TeamSalesItem getItemThirty() {
        return itemThirty;
    }

    public void setItemThirty(TeamSalesItem itemThirty) {
        this.itemThirty = itemThirty;
    }

    public TeamSalesItem getItemToday() {
        return itemToday;
    }

    public void setItemToday(TeamSalesItem itemToday) {
        this.itemToday = itemToday;
    }

    public TeamSalesItem getItem() {
        return item;
    }

    public void setItem(TeamSalesItem item) {
        this.item = item;
    }
}

